<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .itme {
            height: 350px;
            width: 250px;
            border: 1px solid #000;
            position: relative;
            overflow: hidden;
            float: left;
            margin: 2px;
        }
        img{
            height: 250px;
            width: 250px;
        }
        .sup {
            height: 250px;
            position: absolute;
            width: 250px;

        }

        .sub {
            background-color: orange;
            height: 100px;
            top: 350px;
            position: absolute;
            width: 250px;
            transition: all 1.5s;
        }

        p {
            font-size: 12px;
            padding: 0;
            margin: 0;
        }

        .itme:hover .sub {
            top: 250px
        }
    </style>
    <script src="./lib/jquery-1.12.3.min.js"></script>
    <script src="./js/goodslist.js"></script>
</head>

<body>
    <div class="box">
        <div class="itme">
            <div class="sup">
                <img src="" alt="">
            </div>
            <div class="sub">
                <p>商品名称:xxxx</p>
                <p>商品价格:xxxx</p>
                <p><a href="">立即抢购</a></p>
            </div>
        </div>
 
        <div class="itme">
                <div class="sup">
                    <img src="" alt="">
                </div>
                <div class="sub">
                    <p>商品名称:xxxx</p>
                    <p>商品价格:xxxx</p>
                    <p>商品描述:xxxx</p>
                    <p><a href="">立即抢购</a></p>
                </div>
            </div>


            <div class="itme">
                    <div class="sup">
                        <img src="" alt="">
                    </div>
                    <div class="sub">
                        <p>商品名称:xxxx</p>
                        <p>商品价格:xxxx</p>
                        <p>商品描述:xxxx</p>
                        <p><a href="">立即抢购</a></p>
                    </div>
                </div>

    </div>
</body>

</html>